package cn.zyn.eduservice.service;

import cn.zyn.eduservice.entity.EduCourse;
import cn.zyn.eduservice.entity.vo.CourseInfoVo;
import cn.zyn.eduservice.entity.vo.CoursePublishVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author testjava
 * @since 2022-05-29
 */
public interface EduCourseService extends IService<EduCourse> {

    //1.添加课程基本信息
    String saveCourseInfo(CourseInfoVo courseInfoVo);

    //2.根据课程id进行查询课程基本信息
    CourseInfoVo getCourseInfo(String courseid);

    //3.修改课程信息
    void updateCourseInfo(CourseInfoVo courseInfoVo);

    //4.根据课程Id查询课程确认信息
    CoursePublishVo publishCourseInfo(String cid);

    void removeCourse(String courseId);
}
